package com.wp.jenkins02maven.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: WangPeng
 * @createTime: 2022/12/10 13:40
 * @description:
 * @version: v1.0
 */
@RestController
public class HelloController {

    @RequestMapping("/list")
    public Map<String,Object> list(){
        Map<String, Object> map = new HashMap<>();
        map.put("name","BBB");
        map.put("age","BBB");
        map.put("sex","B");
        map.put("address","BBB");
        return map;
    }
}
